package com.xxxy.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxy.model.Student;
import com.xxxy.model.TeachingClassStudent;
import com.xxxy.response.StudentResponse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author sjh
 * @date 2022/2/2 13:28
 */
public interface TeachingClassStudentDao extends BaseMapper<TeachingClassStudent> {

    /**
     * 根据教学班级id获取班内学生
     * @param teachingClassId 教学班级id
     * @return
     */
    List<StudentResponse> getStudentByTeachingClassId(@Param("teachingClassId") Integer teachingClassId);
}
